<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="utf-8">
  
  <title>小魏的博客</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  
    <meta name="keywords" content="Vker,Vker's Blog">
  
  <meta name="description" content="JOB：cocos2d-x">
<meta name="keywords" content="前端,开发者,程序猿,程序媛,极客,编程,代码,开源,IT网站,Developer,Programmer,Coder">
<meta property="og:type" content="website">
<meta property="og:title" content="小魏的博客">
<meta property="og:url" content="https://leng521.top/index.html">
<meta property="og:site_name" content="小魏的博客">
<meta property="og:description" content="JOB：cocos2d-x">
<meta property="og:locale" content="default">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="小魏的博客">
<meta name="twitter:description" content="JOB：cocos2d-x">
  
  
    <link rel="icon" href="/head.jpg">
  
  <link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  <link rel="stylesheet" href="/css/style.css">
  <script src="/js/pace.min.js"></script>
  

  
	<script>
	var _hmt = _hmt || [];
	(function() {
	  var hm = document.createElement("script");
	  hm.src = "//hm.baidu.com/hm.js?2eaff0c5326867354b0d3469d507d209";
	  var s = document.getElementsByTagName("script")[0]; 
	  s.parentNode.insertBefore(hm, s);
	})();
	</script>

  

</head>
</html>
<body>
  <div id="container">
      <header id="header">
    <div id="banner"></div>
    <div id="header-outer">
        <div id="header-menu" class="header-menu-pos animated">
            <div class="header-menu-container">
                <a href="/" class="left">
                    <span class="site-title">Vker&#39;s Blog</span>
                </a>
                <nav id="header-menu-nav" class="right">
                    
                    <a  href="/">
                        <i class="fa fa-home"></i>
                        <span>Home</span>
                    </a>
                    
                    <a  href="/archives">
                        <i class="fa fa-archive"></i>
                        <span>Archives</span>
                    </a>
                    
                    <a  href="/about">
                        <i class="fa fa-user"></i>
                        <span>About</span>
                    </a>
                    
                </nav>
                <a class="mobile-header-menu-button">
                    <i class="fa fa-bars"></i>
                </a>
            </div>
        </div>
        <div id="header-row">
            <div id="logo">
                <a href="/">
                    <img src="/head.jpg" alt="logo">
                </a>
            </div>
            <div class="header-info">
                <div id="header-title">
                    
                    <h2>
                        Vker&#39;s Blog
                    </h2>
                    
                </div>
                <div id="header-description">
                    
                    <h3>
                        一个专注 游戏研发 的技术博客
                    </h3>
                    
                </div>
            </div>
            <nav class="header-nav">
                <div class="social">
                    
                        <a title="Vker" target="_blank" href="//leng521.top">
                            <i class="fa fa-home fa-2x"></i></a>
                    
                        <a title="Github" target="_blank" href="//github.com">
                            <i class="fa fa-github fa-2x"></i></a>
                    
                        <a title="Weibo" target="_blank" href="//weibo.com">
                            <i class="fa fa-weibo fa-2x"></i></a>
                    
                        <a title="Twitter" target="_blank" href="//twitter.com">
                            <i class="fa fa-twitter fa-2x"></i></a>
                    
                </div>
            </nav>
        </div>
    </div>
</header>
      <div class="outer">
        <section id="main" class="body-wrap">
  
    <article id="post-golang-使用第三方包记录" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/792bb197/"  >golang-使用第三方包记录</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/后端/">后端</a>
                  
                  <a href="/categories/golang/">golang</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/792bb197/" >
                
                <img src="https://s2.ax1x.com/2019/08/01/eUkj6P.jpg" alt="golang-使用第三方包记录" title="golang-使用第三方包记录">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>由于 golang 使用时间长了之后 你所面临的需求开始变的复杂 功能会变得越来越多, 所以在这个过程中 积累了一些 第三方库这个记录一下<br>这一片文章 可能会有点长, 耐心看吧, 少年.</p>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-11-20</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/golang/" class="color2">golang</a>
      
  </li>

        </ul>
        
            <a href="/posts/792bb197/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-golang-protobuf记录" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/353f2255/"  >golang-protobuf记录</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/后端/">后端</a>
                  
                  <a href="/categories/golang/">golang</a>
                  
                  <a href="/categories/protobuf/">protobuf</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/353f2255/" >
                
                <img src="https://s2.ax1x.com/2019/08/01/eUkj6P.jpg" alt="golang-protobuf记录" title="golang-protobuf记录">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>记录 golang protobuf 的使用 和 遇到的一些问题, 为什么使用这个东西, 我就不说了.</p>
<blockquote>
<p>涉及的知识点如下:</p>
<ol>
<li>golang protobuf 使用方法</li>
<li>proto3 语法规则记录</li>
<li>一些使用中遇到的问题</li>
</ol>
</blockquote>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-11-20</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/golang/" class="color2">golang</a>
      
    <a href="/tags/protobuf/" class="color4">protobuf</a>
      
  </li>

        </ul>
        
            <a href="/posts/353f2255/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-golang语法外的知识点" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/a3f4f7e2/"  >golang语法外的知识点</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/后端/">后端</a>
                  
                  <a href="/categories/golang/">golang</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/a3f4f7e2/" >
                
                <img src="https://s2.ax1x.com/2019/09/14/n67V8H.jpg" alt="golang语法外的知识点" title="golang语法外的知识点">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>上一盘还在讨论游戏引擎这一篇又开始讨论 后台语言 跳度有点大.<br>最近游戏的后台服务语言从 nodejs 换成了 golang,这里也记录一下 golang 语法外的知识点吧.<br>如果你是 golang 的新手你可以从头看看 有助于你换个角度学习golang</p>
<p>这些只是我个人的观点, 不喜勿碰.</p>
<blockquote>
<p>设计的知识点如下:</p>
<ol>
<li>golang 的命令</li>
<li>golang 的环境</li>
<li>关于包的问题</li>
<li>罗列几个golang 的包吧</li>
<li>golang 开发工具</li>
</ol>
</blockquote>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-09-14</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/golang/" class="color2">golang</a>
      
  </li>

        </ul>
        
            <a href="/posts/a3f4f7e2/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-集成bgfx在macosx平台" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/4c19fcfe/"  >集成bgfx在macosx平台</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/前端/">前端</a>
                  
                  <a href="/categories/bgfx/">bgfx</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/4c19fcfe/" >
                
                <img src="https://s2.ax1x.com/2019/08/01/eUkNJs.jpg" alt="集成bgfx在macosx平台" title="集成bgfx在macosx平台">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>这一篇实在上一篇在windows平台的基础上加上 macosx 平台的编译<br><a href="http://leng521.top/posts/ea56194d/">上一篇地址传送门</a></p>
<blockquote>
<p>涉及的知识点,如下:</p>
<ol>
<li>使用 xmake 构建工程, xmake 使用lua 不会可以简单的补一下语法</li>
<li>修复编译 bgfx 时报的错误</li>
<li>编译 shaderc 可执行文件</li>
<li>编译 glsl 到二进制, 因为bgfx 使用编译后的着色器代码</li>
<li>编译 glfw, bgfx, bimg, bx 库</li>
</ol>
</blockquote>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-08-14</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/前端/" class="color3">前端</a>
      
    <a href="/tags/cpp/" class="color4">cpp</a>
      
    <a href="/tags/bgfx/" class="color5">bgfx</a>
      
    <a href="/tags/xmake/" class="color1">xmake</a>
      
    <a href="/tags/lua/" class="color4">lua</a>
      
  </li>

        </ul>
        
            <a href="/posts/4c19fcfe/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-集成bgfx开源的渲染器" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/ea56194d/"  >集成bgfx开源的渲染器</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/前端/">前端</a>
                  
                  <a href="/categories/bgfx/">bgfx</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/ea56194d/" >
                
                <img src="https://s2.ax1x.com/2019/08/01/eUkNJs.jpg" alt="集成bgfx开源的渲染器" title="集成bgfx开源的渲染器">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>这一节主要讲解集成一个bgfx到项目中<br><a href="https://github.com/bkaradzic/bgfx">bgfx github 仓库地址</a></p>
<blockquote>
<p>涉及的知识点,如下:</p>
</blockquote>
<ol>
<li>使用 xmake 构建工程, xmake 使用lua 不会可以简单的补一下语法</li>
<li>修复编译 bgfx 时报的错误</li>
<li>编译 shaderc 可执行文件</li>
<li>编译 glsl 到二进制, 因为bgfx 使用编译后的着色器代码</li>
</ol>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-07-31</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/前端/" class="color3">前端</a>
      
    <a href="/tags/cpp/" class="color4">cpp</a>
      
    <a href="/tags/bgfx/" class="color5">bgfx</a>
      
    <a href="/tags/xmake/" class="color1">xmake</a>
      
    <a href="/tags/lua/" class="color4">lua</a>
      
  </li>

        </ul>
        
            <a href="/posts/ea56194d/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-WebGL以无符号字节传递颜色的原理" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/af81a0c5/"  >WebGL以无符号字节传递颜色的原理</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/前端/">前端</a>
                  
                  <a href="/categories/WebGL/">WebGL</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/af81a0c5/" >
                
                <img src="https://s2.ax1x.com/2019/08/01/eUkj6P.jpg" alt="WebGL以无符号字节传递颜色的原理" title="WebGL以无符号字节传递颜色的原理">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>这个算属于 WebGL 进阶吧, 因为这个属于优化, 运行效率, 如果你不了解 WebGL 的基本知识,你可以到这里先学习基础知识.<br>我会在下面放上几个比较好的学习链接.</p>
<blockquote>
<p>涉及到的知识点如下</p>
</blockquote>
<ol>
<li>编程里面的位运算 中的(&amp;)这个符号的运算法则</li>
<li>WebGL vertexAttribPointer 这个接口中的 normalized 到底是怎么做的归一化</li>
<li>给 WebGL 传递一个值 为什么我们能拿到四个值(用于优化每次传递数据的尺寸)</li>
</ol>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-06-14</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/js/" class="color3">js</a>
      
    <a href="/tags/WebGL/" class="color1">WebGL</a>
      
    <a href="/tags/前端/" class="color3">前端</a>
      
  </li>

        </ul>
        
            <a href="/posts/af81a0c5/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-微信小游戏上传媒体文件" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/6512ee5/"  >微信小游戏上传媒体文件</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/后端/">后端</a>
                  
                  <a href="/categories/nodejs/">nodejs</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/6512ee5/" >
                
                <img src="https://s2.ax1x.com/2019/08/01/eUkj6P.jpg" alt="微信小游戏上传媒体文件" title="微信小游戏上传媒体文件">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>语言： nodejs</p>
<blockquote>
<p>今天主要是记录一下微信小游戏联系客服的时候，服务器给微信用户发送图片的流程。<br>如果你遇到以下困难，可以看这篇文章，因为它涉及这些用法吧。</p>
</blockquote>
<ol>
<li>服务器作为客户端发送 form 表单数据</li>
<li>使用nodejs上传媒体文件给微信服务器</li>
<li>使用服务器拉去其他服务器或cdn等存放图的地方，将其存储为buffer</li>
</ol>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-06-06</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/微信小游戏/" class="color1">微信小游戏</a>
      
    <a href="/tags/nodejs/" class="color2">nodejs</a>
      
    <a href="/tags/后端/" class="color3">后端</a>
      
  </li>

        </ul>
        
            <a href="/posts/6512ee5/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-一张图搞懂js原型链" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/5e8fa495/"  >一张图搞懂js原型链</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/js/">js</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/5e8fa495/" >
                
                <img src="https://s2.ax1x.com/2019/04/27/EuRqDe.png" alt="一张图搞懂js原型链" title="一张图搞懂js原型链">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>语言： js</p>
<p>js version: v10.15.1</p>
<p>时间： 2019.4.25 15:34</p>
<blockquote>
<p>这里我不说太长的话，去解释，不然会晕。<br>js 里面的原型是真的有一点的绕。记住这几句话就行了，我就不画图了，不然我感觉看图更晕。</p>
<ol>
<li>万物皆对象。</li>
<li>js 对象分为 函数对象 和 普通对象。</li>
<li>只有函数对象有 prototype ，所有的对象都有 <strong>proto</strong> 内置属性。</li>
<li>prototype 其实是函数对象的一个实例。</li>
<li><strong>proto</strong> 是构造函数的原型对象。</li>
<li>Function.prototype 它既是函数对象也是不普通对象。</li>
<li>Object.prototype.<strong>proto</strong> 是个 null。</li>
</ol>
</blockquote>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-04-25</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/原型链/" class="color4">原型链</a>
      
    <a href="/tags/js/" class="color3">js</a>
      
  </li>

        </ul>
        
            <a href="/posts/5e8fa495/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-CocosCreator着色器的简单实用" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/e02f2181/"  >CocosCreator着色器的简单实用</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/CocosCreator/">Cocos Creator</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/e02f2181/" >
                
                <img src="https://s2.ax1x.com/2019/08/01/eUkj6P.jpg" alt="CocosCreator着色器的简单实用" title="CocosCreator着色器的简单实用">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <p>Cocos Creator 版本: 2.0.8</p>
<p>时间: 2019年3月15日16:53:18</p>
<p>由于Cocos 的材质系统并不是太完善 所以官方并没有推出相关 着色器的文档,但是官方给出了一个Demo, 可以更具这个进行改造一下就可以写自己的着色器了.<br>(官方给出的着色器的例子)[<a href="https://github.com/cocos-creator/heartfelt]">https://github.com/cocos-creator/heartfelt]</a><br>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-03-16</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/CocosCreator/" class="color4">Cocos Creator</a>
      
    <a href="/tags/优化/" class="color3">优化</a>
      
  </li>

        </ul>
        
            <a href="/posts/e02f2181/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-CocosCreator一些简单的优化记录" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/posts/7f7eba5/"  >CocosCreator一些简单的优化记录</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/CocosCreator/">Cocos Creator</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/posts/7f7eba5/" >
                
                <img src="https://s2.ax1x.com/2019/08/01/eUkj6P.jpg" alt="CocosCreator一些简单的优化记录" title="CocosCreator一些简单的优化记录">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                <h3 id="cocos-creator-一些简单的优化记录"><a href="#cocos-creator-一些简单的优化记录" class="headerlink" title="cocos creator 一些简单的优化记录"></a>cocos creator 一些简单的优化记录</h3><p>目标: 微信小游戏<br>引擎版本: 2.0.8<br>语言: js<br>时间: 2019年2月19日15:50:29</p>
<p>大纲:</p>
<pre><code>- 缩小包体
- 优化 drawcall
- 增加游戏编译后包体的安全性(防止反编译)
- 优化游戏的计算量
</code></pre><p>微信小游戏对包体的大小控制的很严格只有<code>4M</code>后面又提出了分包加载的机制,但是能自己优化一些还是更好的一些做法.</p>
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2019-02-19</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/CocosCreator/" class="color4">Cocos Creator</a>
      
    <a href="/tags/优化/" class="color3">优化</a>
      
  </li>

        </ul>
        
            <a href="/posts/7f7eba5/#more" class="article-more-link" >more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  


  <nav id="page-nav">
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="page-number" href="/page/4/">4</a><a class="extend next" rel="next" href="/page/2/">Next >></a>
  </nav>
</section>
        
      </div>
      <footer id="footer">
  <div class="outer">
    <div id="footer-info" class="inner">
      
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


      <p>
        Powered by  <a href="http://hexo.io/" target="_blank">Hexo</a>
        Theme <a href="//github.com/wongminho/hexo-theme-miho" target="_blank">MiHo</a>
      &copy; 2019 小魏<br>
      </p>
    </div>
  </div>
</footer>
    <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<script src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script>
  var mihoConfig = {
      root: "https://leng521.top",
      animate: true,
      isHome: true,
      share: true,
      reward: 0
  }
</script>
<div class="sidebar">
    <div id="sidebar-search" title="Search">
        <i class="fa fa-search"></i>
    </div>
    <div id="sidebar-category" title="Categories">
        <i class="fa fa-book"></i>
    </div>
    <div id="sidebar-tag" title="Tags">
        <i class="fa fa-tags"></i>
    </div>
    <div id="sidebar-top">
        <span class="sidebar-top-icon"><i class="fa fa-angle-up"></i></span>
    </div>
</div>
<div class="sidebar-menu-box" id="sidebar-menu-box">
    <div class="sidebar-menu-box-container">
        <div id="sidebar-menu-box-categories">
            <a class="category-link" href="/categories/Cocos-Creator/">Cocos Creator</a><a class="category-link" href="/categories/QQ玩一玩/">QQ玩一玩</a><a class="category-link" href="/categories/cocos2d-x/">cocos2d-x</a><a class="category-link" href="/categories/cocos2dx/">cocos2dx</a><a class="category-link" href="/categories/git/">git</a><a class="category-link" href="/categories/hexo/">hexo</a><a class="category-link" href="/categories/js/">js</a><a class="category-link" href="/categories/linux/">linux</a><a class="category-link" href="/categories/python/">python</a><a class="category-link" href="/categories/前端/">前端</a><a class="category-link" href="/categories/前端/WebGL/">WebGL</a><a class="category-link" href="/categories/前端/bgfx/">bgfx</a><a class="category-link" href="/categories/后端/">后端</a><a class="category-link" href="/categories/后端/golang/">golang</a><a class="category-link" href="/categories/后端/golang/protobuf/">protobuf</a><a class="category-link" href="/categories/后端/nodejs/">nodejs</a><a class="category-link" href="/categories/微信小游戏/">微信小游戏</a><a class="category-link" href="/categories/插件/">插件</a><a class="category-link" href="/categories/自动构建工具/">自动构建工具</a>
        </div>
        <div id="sidebar-menu-box-tags">
            <a href="/tags/9宫格/" style="font-size: 10px;">9宫格</a> <a href="/tags/Cocos-Creator/" style="font-size: 20px;">Cocos Creator</a> <a href="/tags/IT/" style="font-size: 10px;">IT</a> <a href="/tags/QQ玩一玩/" style="font-size: 10px;">QQ玩一玩</a> <a href="/tags/TweenLite/" style="font-size: 10px;">TweenLite</a> <a href="/tags/WebGL/" style="font-size: 10px;">WebGL</a> <a href="/tags/android-studio/" style="font-size: 10px;">android studio</a> <a href="/tags/bgfx/" style="font-size: 12.5px;">bgfx</a> <a href="/tags/c/" style="font-size: 12.5px;">c++</a> <a href="/tags/cocos2d-x/" style="font-size: 15px;">cocos2d-x</a> <a href="/tags/cpp/" style="font-size: 12.5px;">cpp</a> <a href="/tags/gcc/" style="font-size: 10px;">gcc</a> <a href="/tags/git/" style="font-size: 10px;">git</a> <a href="/tags/git-扩展工具/" style="font-size: 10px;">git 扩展工具</a> <a href="/tags/github-page/" style="font-size: 10px;">github page</a> <a href="/tags/git命令/" style="font-size: 10px;">git命令</a> <a href="/tags/golang/" style="font-size: 15px;">golang</a> <a href="/tags/hello-world/" style="font-size: 10px;">hello world</a> <a href="/tags/hexo/" style="font-size: 12.5px;">hexo</a> <a href="/tags/js/" style="font-size: 12.5px;">js</a> <a href="/tags/lua/" style="font-size: 12.5px;">lua</a> <a href="/tags/nodejs/" style="font-size: 10px;">nodejs</a> <a href="/tags/optionParser/" style="font-size: 10px;">optionParser</a> <a href="/tags/protobuf/" style="font-size: 10px;">protobuf</a> <a href="/tags/python/" style="font-size: 17.5px;">python</a> <a href="/tags/scons/" style="font-size: 12.5px;">scons</a> <a href="/tags/spine/" style="font-size: 10px;">spine</a> <a href="/tags/sublime插件/" style="font-size: 10px;">sublime插件</a> <a href="/tags/websocket/" style="font-size: 10px;">websocket</a> <a href="/tags/xmake/" style="font-size: 12.5px;">xmake</a> <a href="/tags/优化/" style="font-size: 12.5px;">优化</a> <a href="/tags/前端/" style="font-size: 15px;">前端</a> <a href="/tags/博客/" style="font-size: 10px;">博客</a> <a href="/tags/原型链/" style="font-size: 10px;">原型链</a> <a href="/tags/后端/" style="font-size: 10px;">后端</a> <a href="/tags/广告/" style="font-size: 10px;">广告</a> <a href="/tags/微信小游戏/" style="font-size: 20px;">微信小游戏</a> <a href="/tags/缺少dll/" style="font-size: 10px;">缺少dll</a> <a href="/tags/闭包/" style="font-size: 10px;">闭包</a>
        </div>
    </div>
    <a href="javascript:;" class="sidebar-menu-box-close">&times;</a>
</div>
<div class="mobile-header-menu-nav" id="mobile-header-menu-nav">
    <div class="mobile-header-menu-container">
        <span class="title">Menus</span>
        <ul class="mobile-header-menu-navbar">
            
            <li>
                <a  href="/">
                    <i class="fa fa-home"></i><span>Home</span>
                </a>
            </li>
            
            <li>
                <a  href="/archives">
                    <i class="fa fa-archive"></i><span>Archives</span>
                </a>
            </li>
            
            <li>
                <a  href="/about">
                    <i class="fa fa-user"></i><span>About</span>
                </a>
            </li>
            
        </ul>
    </div>
    <div class="mobile-header-tag-container">
        <span class="title">Tags</span>
        <div id="mobile-header-container-tags">
            <a href="/tags/9宫格/" style="font-size: 10px;">9宫格</a> <a href="/tags/Cocos-Creator/" style="font-size: 20px;">Cocos Creator</a> <a href="/tags/IT/" style="font-size: 10px;">IT</a> <a href="/tags/QQ玩一玩/" style="font-size: 10px;">QQ玩一玩</a> <a href="/tags/TweenLite/" style="font-size: 10px;">TweenLite</a> <a href="/tags/WebGL/" style="font-size: 10px;">WebGL</a> <a href="/tags/android-studio/" style="font-size: 10px;">android studio</a> <a href="/tags/bgfx/" style="font-size: 12.5px;">bgfx</a> <a href="/tags/c/" style="font-size: 12.5px;">c++</a> <a href="/tags/cocos2d-x/" style="font-size: 15px;">cocos2d-x</a> <a href="/tags/cpp/" style="font-size: 12.5px;">cpp</a> <a href="/tags/gcc/" style="font-size: 10px;">gcc</a> <a href="/tags/git/" style="font-size: 10px;">git</a> <a href="/tags/git-扩展工具/" style="font-size: 10px;">git 扩展工具</a> <a href="/tags/github-page/" style="font-size: 10px;">github page</a> <a href="/tags/git命令/" style="font-size: 10px;">git命令</a> <a href="/tags/golang/" style="font-size: 15px;">golang</a> <a href="/tags/hello-world/" style="font-size: 10px;">hello world</a> <a href="/tags/hexo/" style="font-size: 12.5px;">hexo</a> <a href="/tags/js/" style="font-size: 12.5px;">js</a> <a href="/tags/lua/" style="font-size: 12.5px;">lua</a> <a href="/tags/nodejs/" style="font-size: 10px;">nodejs</a> <a href="/tags/optionParser/" style="font-size: 10px;">optionParser</a> <a href="/tags/protobuf/" style="font-size: 10px;">protobuf</a> <a href="/tags/python/" style="font-size: 17.5px;">python</a> <a href="/tags/scons/" style="font-size: 12.5px;">scons</a> <a href="/tags/spine/" style="font-size: 10px;">spine</a> <a href="/tags/sublime插件/" style="font-size: 10px;">sublime插件</a> <a href="/tags/websocket/" style="font-size: 10px;">websocket</a> <a href="/tags/xmake/" style="font-size: 12.5px;">xmake</a> <a href="/tags/优化/" style="font-size: 12.5px;">优化</a> <a href="/tags/前端/" style="font-size: 15px;">前端</a> <a href="/tags/博客/" style="font-size: 10px;">博客</a> <a href="/tags/原型链/" style="font-size: 10px;">原型链</a> <a href="/tags/后端/" style="font-size: 10px;">后端</a> <a href="/tags/广告/" style="font-size: 10px;">广告</a> <a href="/tags/微信小游戏/" style="font-size: 20px;">微信小游戏</a> <a href="/tags/缺少dll/" style="font-size: 10px;">缺少dll</a> <a href="/tags/闭包/" style="font-size: 10px;">闭包</a>
        </div>
    </div>
</div>
<div class="search-wrap">
    <span class="search-close">&times;</span>
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
            <i class="icon icon-lg icon-chevron-left"></i>
        </a>
        <input class="search-field" placeholder="Search..." id="keywords">
        <a id="search-submit" href="javascript:;">
            <i class="fa fa-search"></i>
        </a>
    <div class="search-container" id="search-container">
        <ul class="search-result" id="search-result">
        </ul>
    </div>
</div>

<div id="search-tpl">
    <li class="search-result-item">
        <a href="{url}" class="search-item-li">
            <span class="search-item-li-title" title="{title}">{title}</span>
        </a>
    </li>
</div>
<script src="/js/search.js"></script>
<script src="/js/main.js"></script>


  <script src="//cdn.bootcss.com/particles.js/2.0.0/particles.min.js"></script>
  <div id="particles"></div>
  <script src="/js/particles.js"></script>







  <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.0/animate.min.css">
  <script src="//cdn.bootcss.com/scrollReveal.js/3.0.5/scrollreveal.js"></script>
  <script src="/js/animate.js"></script>


  </div>
</body>
</html>